package com.yummy.mapper;

import com.yummy.dto.QueryCategoryVo;
import com.yummy.dto.QueryEmployeeVo;
import com.yummy.entity.Category;
import com.yummy.common.CommonMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
* @author buding
* @description 针对表【category(菜品及套餐分类)】的数据库操作Mapper
* @createDate 2022-08-29 23:07:35
* @Entity com.yummy.entity.Category
*/
@Repository
public interface CategoryMapper extends CommonMapper<Category> {
    List<Category> selectAllCategoryBuCondition(QueryCategoryVo queryCategoryVo);
    int insertCategoryDish(Category category);
    int delCategoryByIds(@Param("cid") String... ids);
    Category selectCategoryById(String id);
    int updateByCategory(Category category);

	List<Category> selectByStoreId(Integer storeId);



}
